<?

$Category = new DbCategory();
$places = $Category->find(array(
	"conditions" => array(
		"parent_id" => 0
	)
));
$menu = array(
	"/product/discount" => __("AKCIJA!",true)
);
foreach($places as $place){
	$menu["/category/show/".$place["id"]."/".urlize($place["name"])] = $place["name"];
}
$menu["/page/show/kontakt"] = "Kontakt";

?>

<ul>
	<? foreach($menu as $link=>$label): ?>
		<li class="<?= urlize($label, true); ?><? if($this->is_active($link)): ?> selected<? endif; ?>">
			<? if($this->is_active($link)): ?>
				<strong><?= $label; ?></strong>
			<? else: ?>
				<a href="<?= $link; ?>"><?= $label; ?></a>
			<? endif; ?>
		</li>
	<? endforeach; ?>
</ul>
<br clear="all" />